package org.arnetminer.personalized.vo;



/**
 * User entity. @author MyEclipse Persistence Tools
 */

public class User  implements java.io.Serializable {


    // Fields    

     private long id;
     private String email;
     private String firstName;
     private String lastName;
     private String thumb;
     private Organization organization;
     private Security security;
     private Source source;
     
     private boolean follow;
     
     


    // Constructors

    /** default constructor */
    public User() {
    	thumb = "images/pam/thumb.jpg";
    	this.follow = false;
    }

    
    /** full constructor */
    public User(String email, Security security, String firstName, String lastName, String thumb, Organization organization) {
        this.email = email;
        this.security = security;
        this.firstName = firstName;
        this.lastName = lastName;
        this.thumb = thumb;
        this.organization = organization;
    }

   
    // Property accessors

    public long getId() {
		return id;
	}


	public void setId(long id) {
		this.id = id;
	}

    public String getEmail() {
        return this.email;
    }
    


	public void setEmail(String email) {
        this.email = email;
    }

    

    public Security getSecurity() {
		return security;
	}


	public void setSecurity(Security security) {
		this.security = security;
	}


	public String getFirstName() {
        return this.firstName;
    }
    
    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public String getLastName() {
        return this.lastName;
    }
    
    public void setLastName(String lastName) {
        this.lastName = lastName;
    }


	public String getThumb() {
		return thumb;
	}


	public void setThumb(String thumb) {
		this.thumb = thumb;
	}


	public Organization getOrganization() {
		return organization;
	}


	public void setOrganization(Organization organization) {
		this.organization = organization;
	}


	public Source getSource() {
		return source;
	}


	public void setSource(Source source) {
		this.source = source;
	}


	public boolean isFollow() {
		return follow;
	}

	public void setFollow(boolean follow) {
		this.follow = follow;
	}

	
	
}